import { PlusOutlined } from "@ant-design/icons"
// import { Button, FloatButton } from "antd"

export type CreateWorkBtnProps = {
    onClick?: () => void
}
const CreateWorkBtn = (props: CreateWorkBtnProps) => {
    const { onClick } = props
    return (
        <div className="create-work" onClick={onClick}>
            {/* <Button type="primary" shape="circle" icon={<PlusOutlined />}>
            </Button> */}
            <PlusOutlined style={{fontSize: 20, cursor: 'pointer', marginRight: 10}} />
            <span>添加日志</span>
        </div>
    )
}

export default CreateWorkBtn